//
//  QuDanConfrimPayTypeViewCell.m
//  QuDanOEM
//
//  Created by mac on 2021/11/19.
#import "QuDanConfrimPayTypeViewCell.h"
@implementation QuDanConfrimPayTypeViewCell
- (void)awakeFromNib
{
    [super awakeFromNib];
}
/// 选择支付类型
/// @param sender 选择支付类型
- (IBAction)ationSelectPayTypeBtn:(UIButton *)sender
{
    int tag = (int)sender.tag;
    if (tag == 0) {
        self.ye_image.hidden = NO;
        self.wx_image.hidden = YES;
        self.ap_image.hidden = YES;
    }else if(tag == 1){
        self.ye_image.hidden = YES;
        self.wx_image.hidden = NO;
        self.ap_image.hidden = YES;
    }else{
        self.ye_image.hidden = YES;
        self.wx_image.hidden = YES;
        self.ap_image.hidden = NO;
    }
    NSString *typeStr = [NSString stringWithFormat:@"%d",tag];
    NSLog(@"typeStr:%@",typeStr);
    if (self.QuDanConfrimPayTypeViewCellBlock) {
        self.QuDanConfrimPayTypeViewCellBlock(typeStr);
    }
}
@end
